package com.turing.comment.feign;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import result.Result;

import java.text.ParseException;

@FeignClient("customer-server")
public interface CustomerService {

    /**
     * 客户详情
     */
    @GetMapping("/customer/cus/geCusById")
    public Result geCusById(@RequestParam(value = "id", required = false) String id);

    /**
     * 客户修改
     */
    @PatchMapping("cus/cusEdit")
    public Result cusEdit(@RequestBody JSONObject jsonObject);
}
